package reading.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reading.data.mapper.BookMapper;
import reading.data.model.Book;

/**
 * ${DESCRIPTION}
 *
 * @author txw
 * @since 2019-02-15 12:42
 **/
@Service
public class BookService extends AbstractBaseService<Book> {
    private final BookMapper bookMapper;
    @Autowired
    public BookService(BookMapper bookMapper) {
        this.bookMapper = bookMapper;
        super.setBaseDbMapper(bookMapper);
    }
}
